<?php
/**
 * Name: 初始化控制器.
 * User: 董坤鸿
 * Date: 2016/10/13
 * Time: 10:43
 */

namespace App\Http\Controllers\Init;
use App\Http\Controllers\Controller;
use App\Services\IndexService;

class IndexController extends Controller
{
    /**
     * 初始化
     * MessagesController constructor.
     */
    public function __construct()
    {
        $this->_repoService = new IndexService();
    }

    /**
     * 初始化
     */
    public function index()
    {
        return $this->_repoService->init();
    }

}